<style>
    label.red-start:before {
        content: '* ';
        color: red;
    }
    .layui-form-label{
        width:110px;
    }
</style>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="addFrm" class="layui-form" action="" lay-filter="component-form-group">
                <input type="hidden" name="id" value="<?= !empty($editData["id"]) ? $editData["id"] : 0; ?>">
                <input type="hidden" name="status_id" value="<?= $editStatus["id"] ?>">
                <div class="layui-form-item">
                    <label class="layui-form-label">当前状态</label>
                    <div class="layui-form-mid layui-word-aux"><?= $editData["status_name"] ?></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">需返回状态为</label>
                    <div class="layui-form-mid layui-word-aux"><?= $editStatus["name"] ?></div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="button" class="layui-btn customize" lay-filter="formDemo" id="submitBtn">确定提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script>
    var doAddUrl = "<?= $doAddUrl ?>";
</script>
<script src="<?= PUBLIC_URL . "/" . $this->projectSet["file"]["js"] . "/backStatus.js?" . rand() ?>"></script>
<script>
    layui.use(['laypage', 'layer', 'form', 'element', 'laydate'], function () {
        var laypage = layui.laypage,
                frm = layui.form,
                layer = layui.layer,
                element = layui.element,
                laydate = layui.laydate;

        laydate.render({
            elem: '#status_at' //指定元素
            , type: "datetime"
                    //range: true
        });

    });
</script>
